﻿<UserControl x:Class="DocumentorUI.XMLCompareUC"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             Height="480" Width="700">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>

        </Grid.RowDefinitions>

        <xctk:Wizard x:Name="wzDocGen" FinishButtonClosesWindow="False" Grid.Row="0" Finish="wzDocGen_Finish" PageChanged="wzDocGen_PageChanged">
            <xctk:WizardPage x:Name="IntoPage" Title="Comparaison de fichier documentor" Description="Ce logiciel vous permettra de comparer des états d'infrastructure"/>
            <xctk:WizardPage  x:Name="DocumentPage" Title="Comparaison de fichier Documentor" >
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="200"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Label Grid.Column="0" Grid.Row="0" Content="Fichier a comparer 1" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    <Button Grid.Column="1" Grid.Row="0" Content="Parcourir..." HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="btnFile1" Click="btnFile1_Click"/>
                    <Label Grid.Column="0" Grid.Row="1" Content="Fichier a comparer 2" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    <Button Grid.Column="1" Grid.Row="1" Content="Parcourir..." HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="btnFile2" Click="btnFile2_Click"/>
                </Grid>
            </xctk:WizardPage>
            <xctk:WizardPage x:Name="FinishPage" NextButtonVisibility="Hidden" Title="Les document sont prêt a être comparés" Description="Cliquez sur Finish pour que les document soit comparés" CanFinish="True"/>
            <xctk:WizardPage x:Name="Terminated" Title="Génération du document" HelpButtonVisibility="Hidden" BackButtonVisibility="Hidden" CancelButtonVisibility="Hidden" FinishButtonVisibility="Hidden" NextButtonVisibility="Hidden">
                <xctk:WizardPage.Content>
                    <StackPanel>
                        <Label x:Name="lblTarget"/>
                        <ProgressBar x:Name="pBar" Height="15" IsIndeterminate="True"/>
                    </StackPanel>
                </xctk:WizardPage.Content>
            </xctk:WizardPage>
            <xctk:WizardPage x:Name="EndWizard" Title="Document comparés" HelpButtonVisibility="Hidden" BackButtonVisibility="Hidden" CancelButtonVisibility="Hidden" FinishButtonVisibility="Hidden" NextButtonVisibility="Hidden">
                <TextBox TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" AcceptsReturn="True" x:Name="txtDiffXml"/>
            </xctk:WizardPage>
        </xctk:Wizard>

    </Grid>
</UserControl>
